package com.gd.demo.feign.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 激活并开启feign功能
@EnableFeignClients(basePackages = {"com.gd.demo.cloud.provider.api"})
@SpringBootApplication
public class CloudFeignConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudFeignConsumerApplication.class, args);
    }
}
